<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>The DOMImplementation class</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="class.domexception.html">DOMException</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="domimplementation.construct.html">DOMImplementation::__construct</a></div>
 <div class="up"><a href="book.dom.html">DOM</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.domimplementation" class="reference">
 <h1 class="title">The DOMImplementation class</h1>
 
 
 <div class="partintro"><p class="verinfo">(PHP 5)</p>
 

  <div class="section" id="domimplementation.intro">
   <h2 class="title">简介</h2>
   <p class="para">
    The <strong class="classname">DOMImplementation</strong> interface provides a number
    of methods for performing operations that are independent of any 
    particular instance of the document object model.
   </p>
  </div>

 
  <div class="section" id="domimplementation.synopsis">
   <h2 class="title">类摘要</h2>
 

   <div class="classsynopsis">
    <div class="ooclass"></div>
 

    <div class="classsynopsisinfo">
     <span class="ooclass">
      <strong class="classname">DOMImplementation</strong>
     </span>
     
     {</div>

 
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 属性 */</div>


 
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 方法 */</div>
    <div class="methodsynopsis dc-description">
   <span class="methodname"><a href="domimplementation.construct.html" class="methodname">__construct</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">DOMDocument</span><span class="methodname"><a href="domimplementation.createdocument.html" class="methodname">createDocument</a></span>
    ([ <span class="methodparam"><span class="type">string</span> <code class="parameter">$namespaceURI</code><span class="initializer"> = <strong><code>NULL</code></strong></span></span>
   [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$qualifiedName</code><span class="initializer"> = <strong><code>NULL</code></strong></span></span>
   [, <span class="methodparam"><span class="type"><a href="class.domdocumenttype.html" class="type DOMDocumentType">DOMDocumentType</a></span> <code class="parameter">$doctype</code><span class="initializer"> = <strong><code>NULL</code></strong></span></span>
  ]]] )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">DOMDocumentType</span><span class="methodname"><a href="domimplementation.createdocumenttype.html" class="methodname">createDocumentType</a></span>
    ([ <span class="methodparam"><span class="type">string</span> <code class="parameter">$qualifiedName</code><span class="initializer"> = <strong><code>NULL</code></strong></span></span>
   [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$publicId</code><span class="initializer"> = <strong><code>NULL</code></strong></span></span>
   [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$systemId</code><span class="initializer"> = <strong><code>NULL</code></strong></span></span>
  ]]] )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span><span class="methodname"><a href="domimplementation.hasfeature.html" class="methodname">hasFeature</a></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$feature</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$version</code></span>
   )</div>

 
   }</div>

 
  </div>
 



  



 
 </div>
 
 
























 
<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="domimplementation.construct.html">DOMImplementation::__construct</a> — Creates a new DOMImplementation object</li><li><a href="domimplementation.createdocument.html">DOMImplementation::createDocument</a> — Creates a DOMDocument object of the specified type with its document element</li><li><a href="domimplementation.createdocumenttype.html">DOMImplementation::createDocumentType</a> — Creates an empty DOMDocumentType object</li><li><a href="domimplementation.hasfeature.html">DOMImplementation::hasFeature</a> — Test if the DOM implementation implements a specific feature</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="class.domexception.html">DOMException</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="domimplementation.construct.html">DOMImplementation::__construct</a></div>
 <div class="up"><a href="book.dom.html">DOM</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
